package com.hmy.equipment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.HmyBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author yyh
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class HmyPigPrenancy extends HmyBaseEntity {

  private long prenancyId;
  private String pigCode;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date prenancyTime;
  private long prenancyTestType;
  private long prenancyTestResult;
  private String prenancyReason;
  private long prenancyDays;
  private String prenancyTestby;
  private HmyStaff hmyStaff;




}
